package com.hzit.loan.pay.mapper;

import com.hzit.loan.pay.model.NotifyResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface NotifyResultMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(NotifyResult record);

    int insertSelective(NotifyResult record);

    NotifyResult selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NotifyResult record);

    int updateByPrimaryKey(NotifyResult record);

    /**
     *
     * @param paySerialNo
     * @return
     */
    NotifyResult queryByPaySerialNo(@Param("paySerialNo") String paySerialNo);

}